package com.shsubway.model;

import cn.bmob.v3.BmobObject;

/**
 * Created by Hu on 2017/2/27.
 * <p>
 * 答案的实体类
 */

public class AnswerEntity extends BmobObject{
    /**
     * Id  主键，一个选项一个id
     题干id
     选项内容
     是否是正确答案
     */
    String questionId;//所属问题的编号
    String anscontent;//答案的内容
    boolean isTure;//是否是争取的答案

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public String getAnscontent() {
        return anscontent;
    }

    public void setAnscontent(String anscontent) {
        this.anscontent = anscontent;
    }

    public boolean isTure() {
        return isTure;
    }

    public void setTure(boolean ture) {
        isTure = ture;
    }

    @Override
    public String toString() {
        return "AnswerEntity{" +
                "questionId='" + questionId + '\'' +
                ", anscontent='" + anscontent + '\'' +
                ", isTure=" + isTure +
                '}';
    }
}
